Unit\BitPayLib\BitPayIpnProcessTest S

Total Complexity 22
Dependencies 15
Dependents 0
Total lines 797
Lines of code 625
Logical lines of code 314
Comment lines 80
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
it_should_do_not_allow_to_process_non_bitpay_orders()
S
44 2 47
it_should_do_not_allow_to_process_with_wrong_transaction()
S
44 2 46
it_should_complete_order()
S
44 1 47
it_should_complete_for_wcorder_wcprocessing_status_and_wccompleted_for_complete_action_in_admin()
S
44 1 47
it_should_complete_for_wcorder_wccomplete_status_and_wccompleted_for_complete_action_in_admin()
S
44 1 47
it_should_not_process_failed_verification_ipn_request()
S
44 1 46
it_should_confirm_order()
S
45 1 46
it_should_verify_order_with_saved_token_ipn_request_and_process_correctly_verified_ipn()
S
45 1 45
it_should_process_ipn_request_without_verification_when_order_has_no_saved_token()
S
45 1 44
it_should_refund_order()
S
45 1 43
it_should_expire_order()
S
45 1 43
it_should_fail_order()
S
45 1 43
it_should_decline_order()
S
45 1 43
get_wordpress_helper()
S
58 1 16
get_bitpay_logger()
S
80 1 3
get_bitpay_webhook_verifier()
S
80 1 3
get_bitpay_payment_settings()
S
80 1 3
get_checkout_transactions()
S
77 1 4
get_wc_order()
S
70 1 6
getTestedClass()
S
77 1 3